package com.fay.designPattern.oop.virtualWallet.anaemic;

import java.math.BigDecimal;

/**
 * @Title:
 * @Description:
 * @Author Fay Wang
 * @Date 2022/2/23 22:06
 * @Version 1.0
 */
public class VirtualWalletRepository {

    public VirtualWalletEntity getWalletEntity(Long walletId) {
        return new VirtualWalletEntity();
    }

    public BigDecimal getBalance(Long walletId) {
        return BigDecimal.valueOf(12);
    }

    public void updateBalace(Long walletId, BigDecimal subtract) {

    }
}
